//
//  CYBaseSetViewController.m
//  DDSocial
//
//  Created by 阿帕 on 2018/7/2.
//  Copyright © 2018年 XY. All rights reserved.
//

#import "CYBaseSetViewController.h"
#import "NYSTipsView.h"

@interface CYBaseSetViewController ()

@end

@implementation CYBaseSetViewController

#pragma mark - LifeCyle
- (void)viewWillAppear:(BOOL)animated
{
    [super viewWillAppear:animated];
//    XPContainerViewController *VC = [DCSpeedy dc_getCurrentVC];
//    NSLog(@"xxxxxxxxxx%@", [[VC contentViewController] className]);
}

- (void)viewWillDisappear:(BOOL)animated
{
    [super viewWillDisappear:animated];
    //    [self.navigationController setNavigationBarHidden:NO animated:animated];
}

#pragma mark - LifeCyle
- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.view.backgroundColor = [UIColor whiteColor];
    
    UIImage *bgImage = [[UIImage imageWithColor:UIColor.whiteColor] resizableImageWithCapInsets:UIEdgeInsetsMake(0, 0, 0, 0) resizingMode:UIImageResizingModeStretch];
    [DCSpeedy changeNavControllerGradientView:self andBgColor:bgImage andTitleColor:[UIColor blackColor]];
    
    if (@available(iOS 11.0, *)) {
    } else {
        self.automaticallyAdjustsScrollViewInsets = NO;
    }
    //    self.navigationController.navigationBar.translucent = NO;
}



@end
